<html>

<head>
	<link rel="icon" href="../../static/logo/index.png"  type="image/x-icon">
	<link rel="stylesheet" href="/static/style/myFont.css">
<script type="text/javascript" >
      
        var head=document.getElementsByTagName('head')[0]
        var link=document.createElement("link")
        link.rel="stylesheet"
        if(isMobile())
        {
            link.href="../../static/style/phone-read.css"
        }
        else
        {
            link.href="../../static/style/read.css"
            // link.href="../../static/style/phone-read.css"

        }
        head.appendChild(link)
        function isMobile() 
         {
           const regExp = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini|OpenHarmony/i;
           return regExp.test(navigator.userAgent);
         }
     </script>
      <script type="text/javascript"  src="../../static/js/headShow.js"></script>
	<title>记录本-阅读</title>
	<!-- 解决图片跨域问题 -->
	<meta name="referrer" content="no-referrer" />
	<!-- <link rel="icon" href="../../static/img/+.png"> -->
	 <link rel="stylesheet" href="/static/style/all.css">
	<!-- <meta http-equiv="refresh" content="2"> -->
	<!-- <link rel="stylesheet" href="../../static/style/read.css"> -->
	<script type="text/javascript" src="../../static/js/read.js"></script>
</head>
<body>
      <div id="toolContainer">

		<div id="tool">
			<input type="text" style="display: none;" value="no" id="nChange">
			<div class="index"> <a  href="/" >导航</a><a  href="log.php" >记录</a></div><span id="addClass">
				

			</span>
			<span id="more" onclick="showCls(this)">more</span>
			<span id="searchBox">
				<input type="text" name="" value="" id="searchValue" placeholder="Title" >
				<button id="searchButton" onclick="searchKey()">搜索</button>
			</span>
			<button class="changeContents" ><a id="toEnter" href="../../templates/html/edite.php">导入</a></button>
			<button class="changeContents" onclick="toEdite()">修改</button>
			<button class="changeContents" onclick="printer()">打印</button>
			<button class="deleContents" onclick="toDele('show')">删除</button>

			
		</div>
		</div>
		<div id="container">
		  <div id="status">状态</div>
		<div id="cls">
		</div>
		
		<div id="readArea">
			<div id="ofcls">
				<?php
				echo  "<span>类别</span><span id='back' onclick='toCls()' class='fa fa-mail-reply' ></span><span id='toCls'>:$_GET[cls]</span>";
				?>
				
			</div>
			<?php
				echo  "<div id='title' style='display:none;'><span>标题:</span><span>$_GET[title]</div></span>";
				?>
			<div id="contents" >
				<?php 
                  $fileName="../../datas/txt/".$_GET['cls']."#-#".$_GET['title'].".txt";
				  $file= fopen($fileName,"r");  
				  $content=fread($file,filesize($fileName));
				  echo $content;
				?>

			</div>
		</div>
		<footer>
			<p>隐私保护　TH公司　版权所有　京ICP证000007</p>
            <p>违法和不良信息举报电话：xxxx　举报邮箱：1132224184@qq.com</p>
            <p>京网文【2017】10231-1151号　互联网新闻信息服务许可编号：11220180001 </p>
            <p>北京新浪互联信息服务有限公司</p>
            <p>互联网药品信息服务（京）-经营性-2019-0026　京教研[2002]7号　电信业务审批[2001]字第379号</p>
            <p>增值电信业务经营许可证B1.B2-20090108　电信与信息服务业务许可编号：京ICP证000007号</p>
            <p>广播电视节目制作经营许可证（京）字第828号 甲测资字1100078 京公网安备11000002000016号</p>
		</footer>
	</div>
	
	<div id="bigImg">
		<div id="bigImgBox">
			<img  id="bigImgSrc" src="" alt="">
		</div>
		<div id="bottonBox">
				<input type="text" id="bigImgValue" value=10>
				<button id="big">放大</button>
				<button id="small">缩小</button>
				<button id="rn">关闭</button>
		</div>
	</div>
	<div  id="confirmBox">
		<div id="tipsTitle">是否删除此文件</div>
		<div >
			<button id="confirmCancel" onclick="toDele('no')">取消</button>
			<button id="confirmYes" onclick="toDele('yes')">确定</button>
		</div>
		
	</div>
</body>

</html>